Conversation
Available PR Commands
See: https://github.com/tahminator/codebloom/wiki/CI-Commands |
Title755: Write Codebloom standup bot in Rust PR TypeEnhancement, Documentation Description
Diagram Walkthroughflowchart LR
A["Tokio interval (15 min)"]
B["Check Redis last standup"]
C["Send Discord 'Codebloom Standup' embed"]
D["Set last standup in Redis"]
E["No-op"]
F["Load env credentials"]
G1["Init Redis client"]
H1["Init Discord client (background)"]
A --> B
B -- "due today?" --> C
C --> D
B -- "not due" --> E
F --> G1
F --> H1
|
| Relevant files | |||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Configuration changes | 5 files
| ||||||||||||
| Documentation | |||||||||||||
| Dependencies | 1 files
| ||||||||||||
| Enhancement | 6 files
| ||||||||||||
| Miscellaneous | |||||||||||||
| Error handling | 1 files
| ||||||||||||
| Additional files | 1 files
|
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
bbb8d14 to
a9c7cea
Compare
|
/ai |
|
/review |
|
/describe |
|
/improve |
Title755: Write Codebloom standup bot in Rust PR TypeEnhancement, Documentation Description
Diagram Walkthroughflowchart LR
SRC["standup-bot (Rust)"]
BUILD["Build image script"]
IMG["Docker image tags"]
COOLIFY["Coolify app resource"]
ENVS["Set envs from .env.production"]
DEPLOY["Trigger & poll deployment"]
RUNTIME["Bot runs on 15m interval"]
DISCORD["Send Discord embed + thread"]
REDIS["Store last standup timestamp"]
SRC -- "Dockerfile + Cargo" --> BUILD
BUILD -- "buildx push/load" --> IMG
IMG -- "create/update app" --> COOLIFY
COOLIFY -- "update secrets/envs" --> ENVS
ENVS -- "deploy" --> DEPLOY
DEPLOY -- "start container" --> RUNTIME
RUNTIME -- "Mon/Wed 12pm ET" --> DISCORD
RUNTIME -- "write timestamp" --> REDIS
|
| Relevant files | |||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Ci | |||||||||||||
| Deployment | |||||||||||||
| Configuration changes | |||||||||||||
| Dependencies | |||||||||||||
| Documentation | |||||||||||||
| Enhancement | 6 files
| ||||||||||||
| Additional files |
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
Create codebloom-standup-bot, a Rust app that will send our standup message to the Codebloom dev server, backed by a Redis db to store last standup time (to avoid duplications). Setup Dockerfile and required environment variables in production, as necessary.
…lify under internal (DESC) Coolify is brought in due to the fact that DigitalOcean is expensive and paying 5 dollars a month to deploy one-off script doesn't make a lot of financial sense right now. Instead, these internal/ pkgs will likely be deployed on a VPS that @tahminator owns via Coolify.
755
Description of changes
Checklist before review
Screenshots
Dev
Staging